package com.xbb.service;

import com.xbb.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xbb.entity.StudentParam;
import org.apache.ibatis.annotations.Param;

import javax.validation.Valid;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mr xie
 * @since 2020-06-03
 */
public interface IStudentService extends IService<Student> {

    boolean updateBatch(@Param("uid") Integer uid, @Param("ids") String ids);

    //咨询经理-获取学生列表
    List<StudentParam> getStuList(StudentParam studentParam);

    //咨询师-获取学生列表
    public List<StudentParam> getStuListInZiXunShi(StudentParam studentParam);

    //网络咨询师-获取学生列表
    public List<StudentParam> getStuListInWangLuoZiXunShi(StudentParam studentParam);

    public boolean ruanShanById(Integer id);

    public List<Student> getStuName(@Valid Student student);

    //多个ids组成的字符串
    public List<StudentParam> queryByIds(String ids);
}
